package com.movisol.messengerprofileservice.interfaces.errorcodes;


public class SaveUserProfileErrorCodes {

	public static int INTERNAL_ERROR = 0x0;
	public static int EMAIL_ALREADY_REGISTERED =  0x3E8;
	public static int INVALID_PICTURE =  0x3E9;
	
	
	public static String getErrorByCode(Integer code)
	{
		switch(code)
		{
		
		case 0x0:
			return "Internal Error";
		case 0x3E8:
			return "An Email has been sent to you. Check your Inbox";
		case 0x3E9:
			return "Invalid Picture";
		default:
			return "Unknow Error";
		}
	}
}
